﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Documents;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;

// The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235

namespace UWP.Douban.Controls
{
    public sealed class TopicTileControl : Control
    {
        public TopicTileControl()
        {
            this.DefaultStyleKey = typeof(TopicTileControl);
        }

        protected override void OnApplyTemplate()
        {
            base.OnApplyTemplate();
        }




        public Visibility GoupVisible
        {
            get { return (Visibility)GetValue(GoupVisibleProperty); }
            set { SetValue(GoupVisibleProperty, value); }
        }

        // Using a DependencyProperty as the backing store for GoupVisible.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty GoupVisibleProperty =
            DependencyProperty.Register("GoupVisible", typeof(Visibility), typeof(TopicTileControl), new PropertyMetadata(Visibility.Visible));


    }
}
